package com.huaxindata.im.constants;

/**
 * Created by Administrator on 2017/9/4.
 * 保存与聊天相关的变量
 */

public class ImConstants {
    public static final String SOFT_KEY_BOARD_HEIGHT = "softKeyBoarHeight";
    //标志intent传的是联系人对象
    public static final String CONTACT = "contact";
    //请求码
    public static final int REQUEST_CODE=100;
    //onActivityResult方法收到此退出码时会finish
    public static final int RESULT_CODE_EXIT=101;
    //表示已经返回结果，适用于启动单一功能的activity
    public static final int RESULT_CODE_OK =102;
    //添加好友页面用于区分是主动请求添加好友还是收到添加好友请求
    public static final String FUNCTION_ADD_FRIEND = "addFriend";
    public static final int FUNCTION_REQUEST= 1101;//请求
    public static final int FUNCTION_RESPONSE=1102;//被请求
    //选择群组好友，标记是创建群还是邀请人加入或删除
    public static final String FUNCTION_SELECT_GROUP_MEMBER = "selectGroupMember";
    //标记选择好友列表界面返回结果是返回的要删除的群成员还是要邀请加入的群成员
    public static final int FUNCTION_ADD_MEMBER=1103;
    public static final int FUNCTION_DELETE_MEMBER=1104;

    public static final int REQUEST_FILE_VIDEO = 1105;
    public static final int REQUEST_FILE_IMAGE = 1106;
    public static final int REQUEST_LOCATION=1007;

    public static final String REQUEST_INFO = "requestInfo";
    public static final String FILE_URL = "url";
    public static final String FILE_URL_CATEGORY = "url_category";

    public static final int LOCAL_FILE=1108;
    public static final int REMOTE_FILE=1109;

    public static final String CLIENT_ID = "clientId";

}
